// /////////////////////////////////////////////////////////////////////////////
//
// Name:            App.h
// Author:          Michael Bartsch (ZCCdark203)
//
// Desc :           The interface for the CApp class.
//
// License:         Copyright (C) 2008-2009 Michael Bartsch
//
//                  This program is free software: you can redistribute it
//                  and/or modify it under the terms of the GNU General Public
//                  License as published by the Free Software Foundation,
//                  either version 3 of the License, or (at your option) any
//                  later version.
//
//                  This program is distributed in the hope that it will be
//                  useful, but WITHOUT ANY WARRANTY; without even the implied
//                  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
//                  PURPOSE. See the GNU General Public License for more
//                  details.
//
//                  You should have received a copy of the GNU General Public
//                  License along with this program. If not, see
//                  <http://www.gnu.org/licenses/>.
//
// /////////////////////////////////////////////////////////////////////////////

#ifndef __C_MAIN_APP_H_INCLUDED__
#define __C_MAIN_APP_H_INCLUDED__

// Include required header file(s)
#ifdef __OS_WINDOWS__
#include <winsock2.h>
#endif

// wxWidgets
#include <wx/wx.h>

#include <wx/aui/aui.h>
#include <wx/bmpcbox.h>
#include <wx/dcbuffer.h>
#include <wx/glcanvas.h>
#include <wx/grid.h>
#include <wx/spinctrl.h>
#include <wx/splash.h>
#include <wx/statbmp.h>
#include <wx/textctrl.h>

// OpenGL
#ifdef __OS_WINDOWS__
#include <gl/gl.h>
#include <gl/glu.h>
#endif

// Boost


// Application.
#include "MainFrame/MainFrame.h"


// The CApp class.
//! The main entry point to the application.
class CApp : public wxApp
{
public:

     //! Initialises the application.
     virtual bool OnInit();

     //! Clears the application on shutdown.
     virtual int OnExit();
};

DECLARE_APP(CApp)

#endif
